home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / hp41cv.arc / FUNCTION.TXT < prev    next >
Encoding:
Text File  |  1986-04-26  |  6.9 KB  |  206 lines

  1. The following functions are currently supported by the FORTYONE.
  2.  
  3. Standard Functions:
  4.  
  5. +         Add
  6. -         Subtract
  7. *         Multiply
  8. /         Divide
  9. 1/X       Invert X
  10. 10^X      Ten to the power of X
  11. ABS       Absolute value of X
  12. ACOS      ArcCosine of X
  13. ADV       Advance printer one line
  14. AOFF      Turn ALPHA mode off
  15. AON       Turn ALPHA mode on
  16. ARCL      Recall register to ALPHA   (I)
  17. ASHF      Delete first six characters in ALPHA
  18. ASIN      ArcSine of X
  19. ASN       Make key assignment
  20. ASTO      Store first six digits of ALPHA in register  (I)
  21. ATAN      ArcTangent of X
  22. AVIEW     View/Print ALPHA
  23. BEEP      Make noise
  24. CAT       List user programs
  25. CF        Clear flag      (I)
  26. CHS       Change sign of X
  27. CLA       Clear ALPHA
  28. CLD       Clear display
  29. CLRG      Clear all registers
  30. CLP       Clear program
  31. CLΣ       Clear statistical registers
  32. CLST      Clear stack (X, Y, Z, and T)
  33. CLX       Clear X
  34. COS       Cosine of X
  35. D-R       Degrees to Radians conversion
  36. DEC       Octal to Decimal conversion
  37. DEG       Degrees mode
  38. DEL       Delete program steps
  39. DSE       Decrement and Skip if Equal or less than
  40. END       End of program
  41. ENG       Engineering display mode  (I)
  42. ENTER^    Ends entry of number and pushes stack
  43. E^X       Exponential of X
  44. E^X-1     Exponential of X when close to zero
  45. FACT      Factorial of X
  46. FC?       Test if flag is clear  (I)
  47. FC?C      Test if flag is clear then clear it  (I)
  48. FIX       Set number of displayed digits  (I)
  49. FRC       Return fractional portion of X
  50. FS?       Test if flag is set  (I)
  51. FS?C      Test if flag is set then clear it  (I)
  52. GRAD      Grads mode
  53. GTO       Goto label  (I)
  54. HMS       convert decimal to Hours, minutes, seconds
  55. HMS+      Add times in X and Y
  56. HMS-      Subract time in X from Y
  57. HR        Convert HMS to decimal
  58. INT       Return integer portion of X
  59. ISG       Increment and SKIP if Greater  (I)
  60. LASTX     Recall from L register
  61. LBL       Label for branching
  62. LN        Natural logrithm
  63. LN1+X     Natural logrithm for X close to zero
  64. LOG       Base 10 logrithm
  65. MEAN      Returns Mean
  66. MOD       Return remainder of X to Y
  67. OCT       Decimal to Octal conversion
  68. OFF       Exit calculator to menu
  69. P-R       Polar to Rectangular conversion
  70. %         Percentage
  71. %CH       Percent change
  72. PI        Returns 3.14159...etc.
  73. PROMPT    Stop and display ALPHA
  74. PSE       Pause for one second
  75. R^        Roll stack up
  76. R-D       Radians to degrees conversion
  77. R-P       Rectangular to Polar conversion
  78. RAD       Radians mode
  79. RCL       Recall from register  (I)
  80. RDN       Roll stack down
  81. RND       Round X to displayed precision
  82. RTN       Return from subroutine or stop
  83. SDEV      Standard deviation
  84. SCI       Scientific display mode  (I)
  85. SF        Set flag  (I)
  86. Σ+        Add data point to statistical registers
  87. Σ-        Subract data point from statistical registers
  88. ΣReg      Set location of statistical registers  (I)
  89. SIN       Sine of X
  90. SIGN      Sign of X (-1,0,+1)
  91. SQRT      Square root of X
  92. ST+       Store add  (I)
  93. ST-       Store subtract  (I)
  94. ST*       Store multiply  (I)
  95. ST/       Store divide  (I)
  96. STO       Store X into register  (I)
  97. STOP      Stop program
  98. TAN       Tangent of X
  99. TONE      Noise maker  (I)
  100. VIEW      View contents of register  (I)
  101. X=0?      Test if X is zero
  102. X#0?      Test if X is not zero
  103. X<0?      Test if X is less than zero (negative)
  104. X<=0?     Test if X is less than or equal to zero
  105. X>0?      Test if X is greater than zero (positive)
  106. X=Y?      Test if X is equal to Y
  107. X#Y?      Test if X is not equal to Y
  108. X<Y?      Test if X is less than Y
  109. X<=Y?     Test if X is less than or equal to Y
  110. X>Y?      Test if X is greater than Y
  111. X<>__     Swap X with register  (I) 
  112. X<>Y      Swap X with Y
  113. XEQ       Exequte program or subroutine  (I)
  114. X^2       Square X
  115. Y^X       Y to the power of X
  116.  
  117.  
  118. Printer Functions:
  119.  
  120. ACA       Print ALPHA without CR/LF
  121. ACCHR     Send character in X (code) to printer
  122. ADV       Advance printer one line
  123. AVIEW     Print ALPHA (if printer enabled)
  124. PRA       Print contents of ALPHA with CR/LF
  125. PPRP      Programmable print program (name in ALPHA)
  126. VIEW      Print register (if printer enabled)
  127.  
  128. Extended Functions:
  129.  
  130. ALENG     Return length of string in ALPHA
  131. ATOX      Delete first character in ALPHA and place code in X
  132. CLFL      Clear data file
  133. CRFLD     Create a data file
  134. GETR      Place all records in file in registers
  135. GETRX     Place named records in file in registers
  136. GETX      Get X from data file
  137. PCLPS     Delete named program and all that follow
  138. PURFL     Delete file
  139. RCLPT     Return pointer value of current file
  140. RCLPTA    Return pointer value of named file
  141. SAVEX     Save X in data file
  142. SAVER     Save all registers in data file
  143. SAVERX    Save named registers in data file
  144. SEEKPT    Select record in current file
  145. SEEKPTA   Select record in named file
  146. XTOA      Append character code in X as character in ALPHA
  147.  
  148. Mass Storage Functions:
  149.  
  150. CREATE    Create a data file
  151. PURGE     Delete a file
  152. READR     Read all of the data file into the registers
  153. READRX    Read data file into named registers
  154. READS     Append program to memory
  155. READP     Append program to memory and execute it
  156. SEEKR     Position in data file
  157. WRTR      Store registers in file
  158. WRTRX     Store named registes in file
  159. ZERO      Clear data file
  160.  
  161. Card Reader Functions:
  162.  
  163. RDTA      Read all registers into memory - prompts for file name
  164. RDTAX     Read named registers into memory - prompts for file
  165.           name
  166. WDTA      Write all registers to file - prompts for name and
  167.           creates the file if necessary
  168. WDTAX     Write named registers to file - prompts for name and
  169.           creates the file if necessary
  170.  
  171. Time/Date Functions:
  172.  
  173. ADATE     Format X in ALPHA as a date
  174. ATIME     Format X in ALPHA as a time
  175. ATIME24   Format X in ALPHA as a time in 24 hour mode
  176. CLK12     Time will be returned in 12 hour format
  177. CLK24     Time will be returned in 24 hour format
  178. DATE      Place current date in X
  179. DATE+     Add dates in X and Y
  180. DDAYS     Delta Days, Number of days between X and Y
  181. DMY       Date is formated as DD.MMYYYY
  182. DOW       Return day of week of date in X
  183. MDY       Date is formated as MM.DDYYYY
  184. RCLSW     Recall stopwatch value to X
  185. RUNSW     Run stopwatch
  186. SETDATE   Set the current date (changes DOS date)
  187. SETIME    Set the current time (changes DOS time)
  188. SETSW     Set the stopwatch
  189. STOPSW    Stop the stopwatch
  190. TIME      Return current time to X
  191.  
  192.  
  193. NOTE:
  194.  
  195. Extended Functions, Mass Storage, and Card Reader functions are
  196. completely interchangeable.  That is, all three types actually
  197. work with disk files and you may mix and match the three
  198. different types at will.  For example, create a file using the
  199. Mass Storage CREATE command, save data using the Extended
  200. Function SAVEX command, and later, read back the data using the
  201. Card Reader RDTA command.
  202.  
  203. Functions marked with (I) can use the indirect mode, i.e.
  204. RCL IND 01.
  205.  
  206.